package cn.itmantzy.user.service;

import cn.itmantzy.basic.service.IBaseService;
import cn.itmantzy.user.domain.User;
import cn.itmantzy.user.dto.UserDto;

public interface IUserService extends IBaseService<User>{

    /**
     * 根据电话号码查询user信息
     * @param phone
     * @return
     */
    User queryByPhone(String phone);

    /**
     * 手机号注册
     * @param userDto
     */
    void phoneRegister(UserDto userDto);
}
